﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LowCoding.Domain.Entity.Approval
{
    /// <summary>
    /// 流程信息表
    /// </summary>
    public class ProcessInfo
    {
        /// <summary>
        /// 流程Id
        /// </summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
        public int Id { get; set; }
        /// <summary>
        /// 流程编号
        /// </summary>
        /// 
        [SugarColumn(ColumnName = "ProCode")]
        public string ProCode { get; set; }
        /// <summary>
        /// 流程名称
        /// </summary>
        [SugarColumn(ColumnName = "ProName")]
        public string ProName { get; set; }
        /// <summary>
        /// 流程创建人(需要自动获取创建流程的用户)
        /// </summary>
        [SugarColumn(ColumnName = ("ProCreator"))]
        public string ProCreator { get; set; }
    }
}
